package org.jeecg.modules.inspect.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelIgnore;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 任务
 * @Author: jeecg-boot
 * @Date:   2023-11-24
 * @Version: V1.0
 */
@Data
public class DepartReportVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String departId;

    @Excel(name = "部门", width = 15)
    private String departName;

    @ExcelIgnore
    @Excel(name = "开始时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date taskBegin;

    @ExcelIgnore
    @Excel(name = "结束时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date taskEnd;

    @Excel(name = "下发任务数", width = 15)
    private Integer taskNum;

    @Excel(name = "巡检数", width = 15)
    private Integer inspectedNum;

    @Excel(name = "超时巡检数", width = 15)
    private Integer timeoutNum;


}
